<style>
	span.value{
		display:inline-block;
		width:250px;
		border-bottom :1px dashed #000;
		margin-top:4px;
	}
</style>
	<div class="row">
	<div class="panel callout">
			<h6>Grade Level Fees</h6>
	</div>
	<?if(isset($system_message))echo $system_message;?>
	
		<?if(!empty($level_data)):?>
		<table  class="table table-striped table-hover">
			<thead class="tabular-head">
			<tr>
				<th style="text-align:left;">Level Code</th>
				<th style="text-align:left;">Level Description</th>
				<th style="text-align:left;" colspan="2">Fees (Miscellaneous/Registration/Tuition)</th>
			</tr>
			</thead>
			<tbody>
			<?foreach($level_data as $level):?>
				<tr>
					<td><?=$level->level_code;?></td>
					<td><?=$level->level_desc;?></td>
					<td><?=$level_fees($level->level_id);?></td>
					<td><a href="<?=site_url('student_fees/set_grade_level_fees').'/'.$level->level_id;?>" class="add">Show</a></td>
				</tr>
			<?endforeach;?>
			</tbody>
		</table>
		<?else:?>
			<fieldset>
				<legend>Warning!</legend>
			<div class="notice">No Grade level available to apply fees </div>
			</fieldset>
		<?endif;?>

	</div>
